package com.nf.health.app.models;

/**
 * Created by Jason on 2016/5/28.
 */
public class OxyDeviceDataBean {
    /**
     *"id": 1722,
     "rate_status": "心悸",
     "sp2": 81,
     "rate": 127,
     "sp2_status": "",
     "source": "",
     "posttime": "2016-05-27 16:34:40",
     "userid": "2016051412182215243171"
     */
    private int id;
    private String rate_status;
    private int sp2;
    private int rate;
    private String sp2_status;
    private String source ;
    private String  posttime;
    private String userid;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRate_status() {
        return rate_status;
    }

    public void setRate_status(String rate_status) {
        this.rate_status = rate_status;
    }

    public int getSp2() {
        return sp2;
    }

    public void setSp2(int sp2) {
        this.sp2 = sp2;
    }

    public int getRate() {
        return rate;
    }

    public void setRate(int rate) {
        this.rate = rate;
    }

    public String getSp2_status() {
        return sp2_status;
    }

    public void setSp2_status(String sp2_status) {
        this.sp2_status = sp2_status;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getPosttime() {
        return posttime;
    }

    public void setPosttime(String posttime) {
        this.posttime = posttime;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    @Override
    public String toString() {
        return "DeviceDataBean{" +
                "id=" + id +
                ", rate_status='" + rate_status + '\'' +
                ", sp2=" + sp2 +
                ", rate=" + rate +
                ", sp2_status='" + sp2_status + '\'' +
                ", source='" + source + '\'' +
                ", posttime='" + posttime + '\'' +
                ", userid='" + userid + '\'' +
                '}';
    }
}
